package com.syz.mall.service;

import com.syz.mall.pojo.Order;
import com.syz.mall.pojo.query.OrderQuery;
import com.syz.mall.pojo.vo.OrderEchartsVO;
import com.syz.mall.util.LayUITableResult;

import java.util.List;

public interface IOrderService {
    LayUITableResult selectByPage(OrderQuery orderQuery);

    boolean deleteAll(Integer[] ids);

    boolean deleteById(Long id);

    boolean add(Order order);

    Order selectById(Integer id);

    boolean update(Order order);

    boolean changeStatus(Integer id,Integer status);

    List<OrderEchartsVO> queryEchartsData();
}
